package observerexample.bugaoban;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 * 恶魔监听类 监听按钮事件
 * @author yaojianfeng
 */
public class DevilListener implements ActionListener {
    /**
     * Invoked when an action occurs.
     *
     * @param e 单击动作
     */
    @Override
    public void actionPerformed(ActionEvent e) {
        System.out.println("Come on, do it!");
    }
}
